package com.chaoyi.service;

import java.io.IOException;
import java.util.List;

import javax.servlet.http.Part;

import com.chaoyi.model.Fiction;

public interface FictionService {

	List<Fiction> findList(String offset, String limit);

	int findCount();

	int saveFiction(Fiction fiction);

	Fiction findFictionOne(int id);

	int alertFictionSave(Fiction fiction);

	int deleteFiction(int id);

	String uploadOSS(Part uploadFile) throws IOException, Exception;

}
